package co.fitstart.admin.entity.report;

import java.util.Map;

/**
 * 
 * @author YSY
 *
 */
public class WeeklySchedule {
	
	/**
	 * 结构：beginDate-endDate
	 * 一周的开始日期和结束日期
	 */
	private String weekDesc;
	
	/**
	 * key:日期或者教练
	 * value：CoachSchedule 或者 DaySchedule
	 */
	private Map<String, CoachDaySchedule> coachDayScheduleMaps;
	
	/**
	 * @param weekDesc
	 * @param coachDayScheduleMaps
	 */
	public WeeklySchedule(String weekDesc, Map<String, CoachDaySchedule> coachDayScheduleMaps) {
		this.weekDesc = weekDesc;
		this.coachDayScheduleMaps = coachDayScheduleMaps;
	}
	
	/**
	 * 
	 * @return
	 */
	public static WeeklySchedule newInstance(String weekDesc, Map<String, CoachDaySchedule> coachDayScheduleMaps){
		return new WeeklySchedule(weekDesc, coachDayScheduleMaps);
	}

	/**
	 * @return the weekDesc
	 */
	public String getWeekDesc() {
		return weekDesc;
	}

	/**
	 * @return the coachDayScheduleMaps
	 */
	public Map<String, CoachDaySchedule> getCoachDayScheduleMaps() {
		return coachDayScheduleMaps;
	}

	/**
	 * @param weekDesc the weekDesc to set
	 */
	public void setWeekDesc(String weekDesc) {
		this.weekDesc = weekDesc;
	}

	/**
	 * @param coachDayScheduleMaps the coachDayScheduleMaps to set
	 */
	public void setCoachDayScheduleMaps(Map<String, CoachDaySchedule> coachDayScheduleMaps) {
		this.coachDayScheduleMaps = coachDayScheduleMaps;
	}
}
